From ec528e4bf85a7221ecf24e5a1d3ff74e59a9297e Mon Sep 17 00:00:00 2001 From: "mjw@wray-m-3.hpl.hp.com" Date: Fri, 9 Jul 2004 11:46:12 +0000 Subject: [PATCH] bitkeeper revision 1.1057 (40ee8584myg8XmLDN-LhS0RxAdp2Pg) Fix getopt to return a value. --- tools/python/xen/xm/opts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/opts.py b/tools/python/xen/xm/opts.py index 325698875d..9bae32e082 100644 --- a/tools/python/xen/xm/opts.py +++ b/tools/python/xen/xm/opts.py @@ -242,7 +242,7 @@ class Opts: """Get an option value. An option value can also be got using 'opts.vals.name'. """ - getattr(self.vals, name) + return getattr(self.vals, name) def specified(self, name): """Test if an option has been specified. -- 2.30.2